package cn.zhaosunny.soap

/**
 *
 * @author zhaoyang 2021/11/30
 */
abstract class SoapResponse<T> {
    var soapString: String? = ""

    var soapData: T? = null

    /**
     * 成功
     */
    var soapCode: Int = 1

    fun isSuccessful(): Boolean {
        return soapCode == 1
    }

}